//
//  ZGLBaseModel.h
//  ZeegingLottery
//
//  Created by 李曌 on 2018/11/8.
//  Copyright © 2018 蒂埃里. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class ZGLNewsBannerImageModel,ZGLNewsBannerMatchModel;
@interface ZGLBaseModel : NSObject

/*
 "importantSwitch": true,
 "importantTitle": "彩票",
 "bannerList": [
 {
 "title": "国米年轻主席也爱梅西 拉着苏神梅西一起玩自拍",
 "img": "http:\/\/n.sinaimg.cn\/sports\/transform\/716\/w650h866\/20181107\/3SV1-hnprhzv6322435.jpg",
 "link": "http:\/\/betcat.zeeging.com\/index.php\/Api\/getSinaSportsNewsContent?url=http:\/\/sports.sina.com.cn\/g\/laliga\/2018-11-07\/doc-ihmutuea7731649.shtml"
 },
 {
 "title": "巴黎主帅：那不勒斯的点球越位在先 我们本能赢",
 "img": "http:\/\/n.sinaimg.cn\/sports\/transform\/768\/w502h266\/20181107\/-ON6-hnprhzv6319404.jpg",
 "link": "http:\/\/betcat.zeeging.com\/index.php\/Api\/getSinaSportsNewsContent?url=http:\/\/sports.sina.com.cn\/g\/laliga\/2018-11-07\/doc-ihmutuea7731118.shtml"
 },
 {
 "title": "布冯：平局是合理的结果 上赛季我的红牌很不公平",
 "img": "http:\/\/n.sinaimg.cn\/sports\/transform\/314\/w650h464\/20181107\/kuUL-hnprhzv6283014.jpg",
 "link": "http:\/\/betcat.zeeging.com\/index.php\/Api\/getSinaSportsNewsContent?url=http:\/\/sports.sina.com.cn\/g\/seriea\/2018-11-07\/doc-ihmutuea7728936.shtml"
 }],
 "matchList":[{
 "matchid": "5576",
 "sportteryid": "113235",
 "leaguenameabbr": "欧冠",
 "color": "#F75000",
 "matchkeycn": "周三001",
 "homename": "莫斯科中央",
 "homelogo": "\/Statics\/uploadfiles\/teamlogo\/461.png",
 "connertips": "本场最高回报3.50",
 "statustips": "未开赛",
 "status": "selling",
 "probility": 73,
 "predict": [
 {
 "title": "客胜",
 "result": ""
 },
 {
 "title": "平手",
 "result": ""
 }],
 "odds": {
 "had": {
 "homewin": "3.81",
 "draw": "3.5",
 "awaywin": "1.72",
 "p": {
 "pHome": 0.23235886707683,
 "pDraw": 0.25293922387507,
 "pAway": 0.5147019090481
 }
 },
 "hhad": null,
 "asian": null
 },
 "city": "",
 "weathericon": "http:\/\/static.sporttery.cn\/www\/images\/weather_logo\/cloudy.png",
 "awayname": "罗马",
 "awaylogo": "\/Statics\/uploadfiles\/teamlogo\/236.png",
 "matchdate": "11\/08",
 "matchtime": "01:55",
 "recmdflag": null
 }, ]
 */

@property (nonatomic, copy) NSString *importantTitle;
@property (nonatomic, assign) BOOL importantSwitch;
@property (nonatomic, strong) NSArray <ZGLNewsBannerImageModel *> *bannerList;
@property (nonatomic, strong) NSArray <ZGLNewsBannerMatchModel *> *matchList;

@end

@interface ZGLNewsBannerImageModel : NSObject

@property (nonatomic, copy) NSString *img;

@end

@interface ZGLNewsBannerMatchModel : NSObject

@property (nonatomic, copy) NSString *leaguenameabbr;
@property (nonatomic, copy) NSString *homename;
@property (nonatomic, copy) NSString *awayname;
@property (nonatomic, copy) NSString *matchdate;
@property (nonatomic, copy) NSString *matchtime;
@property (nonatomic, copy) NSString *awaylogo;
@property (nonatomic, copy) NSString *homelogo;
@property (nonatomic, copy) NSString *statustips;


@end


NS_ASSUME_NONNULL_END
